yHot
Type
property
Summary
Specifies the vertical position of the hot spot when an image is being used as a cursor.
Syntax
set the yHot of <image> to <pixels>
Description
Use the yHot property to specify the vertical position of the hot spot of an image you want to use as a cursor.
A mouse cursor, regardless of its shape, always has a single active point or hot spot. For example, the arrow cursor's hot spot is at its tip, and to select an object, you must click it with the arrow tip.
The yHot property is the vertical distance in pixels from the top of the image to the hot spot point.
The yHot of an image is equal to item 2 of the image's hotSpot property.
Examples
set the yHot of image ID 245 to 7
Related
glossary: property
keyword: item, image, integer, point
object: image
property: hotSpot, cursor, pixels, xHot
Compatibility and Support
Introduced
LiveCode 1.0
OS
mac
windows
linux
Platforms
desktop